//
//  YHNavigationController.swift
//  Adorbee
//
//  Created by amovision on 2024/11/28.
//

import UIKit

open class YHNavigationController: UINavigationController {
  override public func pushViewController(_ viewController: UIViewController, animated: Bool) {
    if children.count > 0 {
      viewController.hidesBottomBarWhenPushed = true
    }
    super.pushViewController(viewController, animated: animated)
  }
}
